<%@page import="databank.DatabankVo"%>
<%@page import="databank.DataBank"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>modify_result.jsp</title>
<script>
function init(){
	document.getElementById("btnList").onclick = function(){
		location.href="index2.jsp?inc_content=./databank/list.jsp";
	}
}
</script>
</head>
<body>
<jsp:useBean id="bankVo" class="databank.DatabankVo"/>
<jsp:setProperty property="*" name="bankVo"/>

<%
//multiparRequest를 만들기위해서 request가 필요했음!
bankVo.setRequest(request);

DataBank bank= new DataBank();

bank.setVo(bankVo);

%>



<h1>파일 업로드 수정 결과창</h1>
<%
if(bank.update()){
	out.print("정상적으로 수정되었습니다.");
}else{
	out.print("수정 작업 중 오류 발생");
}
%>

<input type="button" value="목록" id='btnList'>
<script>
init();
</script>
</body>
</html>